package com.app.kotlinmodule

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import android.util.Log
import com.alibaba.android.arouter.facade.annotation.Route
import kotlinx.android.synthetic.main.activity_kotlin_module.*

fun hello() = Log.i("KotlinModuleActivity", "hello")

@Route(path = "/kotlin_module/kotlin_module_activity")
class KotlinModuleActivity : AppCompatActivity() {


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_kotlin_module)

        activity_kotlin_module_btn01.setOnClickListener {

            hello()

        }

    }

}